/*
 * QStringListAdapter.h  0.4.0 / Nov 14, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
#ifndef QSTRINGLISTADAPTER_H
#define QSTRINGLISTADAPTER_H

#include "Cute4jCommon.h"

#include <QStringList>

// QStringListAdapter Class. ---------------------------------------------------

/*!
 * \brief QString Adapter.
 *
 * \author Slobodan Vrkacevic
 * \version 0.4.0
 */
class CUTE4J_EXPORT QStringListAdapter : public QStringList
{
public:
  QStringListAdapter(JNIEnv *env, jobjectArray stringArray);
public:
  static jobjectArray toJStringArray(JNIEnv *env,
                                     const QStringList &stringList);
};

#endif // QSTRINGLISTADAPTER_H
